<!-- 公告 -->
<template>
	<view class="">
		<view class="pd row">
			<uni-icons type="sound" size="24" color="#999" class="cz"></uni-icons>
			<view class="col ml20">
				<notice :dheight="50" :gonggao="gonggao"></notice>
			</view>
		</view>


		<view class="mt50">
			<!-- 基本用法 -->
			<uni-notice-bar single="true" text="[单行] 这是 NoticeBar 通告栏，这是 NoticeBar 通告栏，这是 NoticeBar 通告栏"></uni-notice-bar>
			<uni-notice-bar text="[多行] 这是 NoticeBar 通告栏，这是 NoticeBar 通告栏，这是 NoticeBar 通告栏，这是 NoticeBar 通告栏"></uni-notice-bar>

			<!-- 文字滚动 -->
			<uni-notice-bar scrollable="true" single="true" text="[单行] 这是 NoticeBar 通告栏，这是 NoticeBar 通告栏，这是 NoticeBar 通告栏"></uni-notice-bar>

			<!-- 显示图标 -->
			<uni-notice-bar showIcon="true" text="[多行] 这是 NoticeBar 通告栏，这是 NoticeBar 通告栏，这是 NoticeBar 通告栏这是 NoticeBar 通告栏，这是 NoticeBar 通告栏，这是 NoticeBar 通告栏"></uni-notice-bar>

			<!-- 显示关闭按钮 -->
			<uni-notice-bar showClose="true" showIcon="true" text="这是 NoticeBar 通告栏，这是 NoticeBar 通告栏，这是 NoticeBar 通告栏"></uni-notice-bar>

			<!-- 查看更多 -->
			<uni-notice-bar @getmore="getMore" :showGetMore="true" moreText="查看更多" single="true" text="[单行] 这是 NoticeBar 通告栏，这是 NoticeBar 通告栏，这是 NoticeBar 通告栏"></uni-notice-bar>
		
		</view>
	</view>

</template>
<script>
	import notice from "@/components/dxgj/notice.vue"
	export default {
		data() {
			return {
				gonggao: [{
						title: '35号床医属待执行,请注意跟进',
						urls: '/pages/loadin/index'
					},
					{
						title: '45号床医属待执行,请注意跟进',
						urls: '/pages/loadin/index'
					}
				]
			}
		},
		components: {
			notice
		},
		methods: {

		},
		mounted() {

		}
	}
</script>
<style scoped>


</style>
